.roy-divider {
  background-color: var(--roy-border-color);
  position: relative;
}

.roy-divider--horizontal {
  display: block;
  height: 1px;
  width: 100%;
  margin: 24px 0;
}

.roy-divider--vertical {
  display: inline-block;
  width: 1px;
  height: 1em;
  margin: 0 8px;
  vertical-align: middle;
  position: relative;
}

.roy-divider__text {
  position: absolute;
  background-color: #fff;
  padding: 0 20px;
  font-weight: 500;
  color: #303133;
  font-size: 14px;
}

.roy-divider__text.is-left {
  left: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.roy-divider__text.is-center {
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.roy-divider__text.is-right {
  right: 20px;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}
